home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DemonicDefence3.swf / scripts / DefineButton2_1198 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2005-09-27  |  207 b   |  13 lines

  1. on(release){
  2.    if(_root.money >= 340)
  3.    {
  4.       _root.money -= 340;
  5.       _root.exploRune += 1;
  6.       messo = "Got Explosion Rune!";
  7.    }
  8.    else
  9.    {
  10.       messo = "Not Enough Money!";
  11.    }
  12. }
  13.